import java.util.HashMap;

/**
 * @Author 12629
 * @Date 2022/4/2 17:55
 * @Description：
 */
class A {
    int a = 100;

    public void test(){
        //b = 9;
        System.out.println();
    }
}
class B extends A {
    char a;
    int b;
    public void func() {
       a = 97;
    }
}
public class TestDemo {
    public static void main(String[] args) {
        B b = new B();
        b.func();//
        System.out.println(b.a);//
        A a = new A();
        System.out.println(a.a);//97
    }
}
